<div class="hotr-header" id="hotr-header">
  <div class="header-bg">
    <div class="header-main">
      <div class="main-top">
        <?php if (Auth::check() == true){ ?>
          <span class="user-state">
            <a href="{{url('shelf')}}" rel="nofollow"><?php echo Auth::user()->name?></a>
            |
            <a href="/auth/logout" rel="nofollow">退出</a>
            |
            <a href="{{url('work')}}" rel="nofollow">作者中心</a>
          </span>
        <?php }else{?>
          <span class="user-state">
            <a href="{{url('auth/login')}}" rel="nofollow">登录</a>
            |
            <a href="{{url('auth/register')}}" rel="nofollow">注册</a>
            |
            <a href="{{url('auth/login')}}" rel="nofollow">作者中心</a>
          </span>
        <?php };?>
      </div>
      <div class="mix-box">
        <div class="logo-box">
          <a href="/">
            <img src="/image/logo.png" alt="">
          </a>
        </div>
        <div>
          <form class="search-box" onsubmit="" action="{{url('search')}}" method="get">
                          <input name="keyWord" placeholder="" autocomplete="off" class="search-text" type="text">
                        <input value=" " class="search-btn" style="color: transparent;" type="submit">
          </form>
          <p class="header-recommend">

              <a href="https://www.hotread.com/search?keyWord=%E7%88%B1%E6%83%85%E9%9A%BE%E4%B8%BA">爱情难为</a>

              <a href="https://www.hotread.com/search?keyWord=%E9%9B%AA%E5%9F%9F%E5%85%B5%E7%8E%8B">雪域兵王</a>

              <a href="https://www.hotread.com/search?keyWord=%E9%AD%85%E7%BD%97">魅罗</a>

              <a href="https://www.hotread.com/search?keyWord=%E8%A8%80%E5%A4%A9%E7%A5%9E%E7%AE%97">言天神算</a>

              <a href="https://www.hotread.com/search?keyWord=%E6%9C%AA%E4%BA%A1%E6%97%A5">未亡日</a>

          </p>
        </div>
      </div>
    </div>
  </div>
</div>
